package com.wn.class30.entity;

import java.io.Serializable;

/**
 * join_img_head
 * @author 
 */
public class JoinImgHead implements Serializable {
    private Integer joinHeadImgId;

    /**
     * 加盟展示轮播图路径
     */
    private String businessHeadImgUrl;

    /**
     * 关于我们介绍
     */
    private String aboutus;

    private static final long serialVersionUID = 1L;

    public Integer getJoinHeadImgId() {
        return joinHeadImgId;
    }

    public void setJoinHeadImgId(Integer joinHeadImgId) {
        this.joinHeadImgId = joinHeadImgId;
    }

    public String getBusinessHeadImgUrl() {
        return businessHeadImgUrl;
    }

    public void setBusinessHeadImgUrl(String businessHeadImgUrl) {
        this.businessHeadImgUrl = businessHeadImgUrl;
    }

    public String getAboutus() {
        return aboutus;
    }

    public void setAboutus(String aboutus) {
        this.aboutus = aboutus;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        JoinImgHead other = (JoinImgHead) that;
        return (this.getJoinHeadImgId() == null ? other.getJoinHeadImgId() == null : this.getJoinHeadImgId().equals(other.getJoinHeadImgId()))
            && (this.getBusinessHeadImgUrl() == null ? other.getBusinessHeadImgUrl() == null : this.getBusinessHeadImgUrl().equals(other.getBusinessHeadImgUrl()))
            && (this.getAboutus() == null ? other.getAboutus() == null : this.getAboutus().equals(other.getAboutus()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getJoinHeadImgId() == null) ? 0 : getJoinHeadImgId().hashCode());
        result = prime * result + ((getBusinessHeadImgUrl() == null) ? 0 : getBusinessHeadImgUrl().hashCode());
        result = prime * result + ((getAboutus() == null) ? 0 : getAboutus().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", joinHeadImgId=").append(joinHeadImgId);
        sb.append(", businessHeadImgUrl=").append(businessHeadImgUrl);
        sb.append(", aboutus=").append(aboutus);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}